find a string hackerrank solution in python

join shbcf.ru